package com.tiennt.android.apkextractor;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;

public class MainActivity extends FragmentActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

		FragmentManager fragmentManager = getSupportFragmentManager();
		if (fragmentManager.findFragmentById(android.R.id.content) == null) {
			AppListFragment appListFragment = new AppListFragment();
			fragmentManager.beginTransaction()
					.add(android.R.id.content, appListFragment).commit();
		}

	}

}
